import { useState } from 'react';
import { Link } from "react-router-dom";
import { UserOutlined } from "@ant-design/icons";
import { Menu } from "./components/layout/Menu";
import './App.css'

function App() {
  const [count, setCount] = useState(0)

  return (
    <div className="app">
      <div className='app-header'>
        <h1>会议室预定系统</h1>
        <Link to={'/update_info'}><UserOutlined className='app-icon' /></Link>
      </div>
      <div className='app-body'>
        <Menu></Menu>
      </div>
    </div>
  )
}

export default App
